﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
using System.IO;

namespace DockSample
{
    public partial class FormDevSimulator : DockContent
    {
        public FormDevSimulator()
        {
            InitializeComponent(); 
        }

        public void OpenFile()
        {
            OpenFileDialog ofd = new OpenFileDialog();
            if(ofd.ShowDialog()!= DialogResult.OK)
            {
                return;
            }
           String[] lines= File.ReadAllLines(ofd.FileName);
        }
        private ToolStripMenuItem menu = new ToolStripMenuItem("开关量批量生成");
        public ToolStripMenuItem Menu
        {
            get;
            set;
        }

     


       
    }
}
